package bbs.model;


public class Board extends Entity { 
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 5294361579492356801L;

	public Board() {
	} 
	
	/**
	 * 게시판 아이디
	 * @return
	 */
	public Integer getBoardId() {
		return super.getInteger( "BOARD_ID" );
	}
	
	public String getBoardName() {
		return super.getString( "BOARD_NAME" );
	}
	
	public boolean isBoardValid() {
		return super.isTrue( "BOARD_VALID" );
	}
	
	public int getNewPaperCnt() {
		return super.getInteger( "NEW_PAPER_CNT" , 0 );
	}

}
